package com.cn.wanxi.dao;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class CompanyDao {
    private String logo = "../img/logo_g0yv.jpg";
    private String phone = "028-888333333";
    private String net = " admin.com";
    private String email = "admin@ 163.com";
    private String address = "四川省成都市孵化园";
    private String version = "Copyright @ 2009-201 1.www.xxxxx.com,All rights rescrved";
    private String linePhone = "0280000000";

    public String getLogo() {
        return logo;
    }

    public String getPhone() {
        return phone;
    }

    public String getNet() {
        return net;
    }

    public String getEmail() {
        return email;
    }

    public String getAddress() {
        return address;
    }

    public String getVersion() {
        return version;
    }

    public String getLinePhone() {
        return linePhone;
    }

    public List<String> getData() {
        List<String> list=new ArrayList<>();
        list.add(logo);
        list.add(phone);
        list.add(net);
        list.add(email);
        list.add(address);
        list.add(version);
        list.add(linePhone);
//        String[] aa=new String[];
        return list;
//        String[] aa = new String[temp.length+1];
//        for (int i = 0; i <temp.length ; i++) {
//            aa[i]=temp[i];
//        }
//        aa[temp.length+1]=a;
//        temp=aa;
//        String [] cc=new String[5];
//        aa[0] = "a";
//泛型
//        List<Object> bb=new ArrayList<>();
//        bb.add("b");
//        bb.add("c");
//        bb.forEach(System.out::println);

//        return aa;
    }

    private static String[] temp = {};
//
//    public static void main(String[] args) {
//        Scanner scanner = new Scanner(System.in);
//
//        new CompanyDao().getData(scanner.next());
//        for (int i = 0; i < temp.length; i++) {
//            System.out.println(temp[i]);
//        }
//    }
}
